package com.hutao.medical.mapper.scan;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.hutao.medical.pojo.scan.ScanFile;

public interface ScanFileMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ScanFile record);

    int insertSelective(ScanFile record);

    ScanFile selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ScanFile record);

    int updateByPrimaryKey(ScanFile record);
    /**
     * 根据fistGuid查询扫描数据信息
     * @param firstGuid
     * @return
     */
    List<Map<String,Object>> getScanFileListByFirstGuid(@Param("firstGuid")String firstGuid);
    
    
    Map<String,Object> getFileIdByHash(@Param("fileHash")String fileHash);
}